package com.antis.olsl.magic.outbound;

import com.antis.olsl.base.BasePresenter;
import com.antis.olsl.base.BaseView;
import com.antis.olsl.library.response.SalesroomOrWarehouseInfo;
import com.antis.olsl.magic.response.GetExWarehouseTopListResp;

import java.util.List;
import java.util.Map;

public class OutboundContract {

    interface Presenter extends BasePresenter {
        void takeView(OutboundContract.View view);

        void getWarehouseInfoList(Map<String, Object> map);

        void getExWarehouseTopList(Map<String, Object> map);
    }

    public interface View extends BaseView<Presenter> {
        void getWarehouseInfoListSuccess(List<SalesroomOrWarehouseInfo> list);

        void getWarehouseInfoListFailure(String msg);

        void getExWarehouseTopListSuccess(List<GetExWarehouseTopListResp.ContentBean> list);

        void getExWarehouseTopListFailure(String msg);
    }
}
